package com.wits.av;


/**
 * Created by zhengboyuan on 2018-08-27.
 */

public class MRecord {

    public int id;
    public String	device;		/// 设备ID
    public long startTime;		/// 开始时间
    public long stopTime;		/// 结束时间
    public String	filename;	/// 文件名
    public String  filepath;	/// 文件路径
    public long	filesize;	/// 文件大小
    public int		duration;	/// 时长, 单位为秒
    public String  url;
    public int 	events;		/// 关联报警事件
    public int		type;		/// 录像类型
    public String	recorder;	/// 录像者
    public String  memo;	/// 备注

    public MRecord() {
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("id:");
        sb.append(id);
        sb.append(",");

        sb.append("device:");
        sb.append(device);
        sb.append(",");

        sb.append("type:");
        sb.append(type);
        sb.append(",");

        sb.append("startTime:");
        sb.append(startTime);
        sb.append(",");

        sb.append("stopTime:");
        sb.append(stopTime);
        sb.append(",");

        sb.append("filename:");
        sb.append(filename);
        sb.append(",");

        return sb.toString();
    }
}
